package com.fourforfo.fourmall.order.dao;

import com.fourforfo.fourmall.order.constant.OrderStatusEnum;
import com.fourforfo.fourmall.order.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单
 * 
 * @author fourforfo
 * @email fourforfo@gmail.com
 * @date 2022-06-16 12:36:49
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {

    /**
     * 修改订单状态为支付状态
     */
    Integer updateOrderStatus(@Param("order_sn") String order_sn, @Param("status") Integer status);
}
